<template>
  <h2>依赖注入</h2>
  <button @click="count++">增加</button>
  <InjectSonView />
</template>
<script setup lang="ts">
import { provide, ref } from 'vue'
import InjectSonView from '../vue/InjectSonView.vue'
const count = ref(0)
provide('count', count)
</script>
